package com.ruoyi.cinema.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 套餐组合内商品对象 combo_group_goods
 *
 * @author HHAOYU
 * @date 2020-12-09
 */
@TableName("combo_group_goods")
public class ComboGroupGoods extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @TableId(value = "id")
    private Long id;
    /** $column.columnComment */
    private Long comboGroupId;
    /** 卖品编码 */
    @Excel(name = "卖品编码")
    private String goodsCode;
    /** 卖品名称 */
    @Excel(name = "卖品名称")
    private String goodsName;
    /** 卖品类型 */
    @Excel(name = "卖品类型")
    private String goodsType;
    /** 卖品图片URL */
    @Excel(name = "卖品图片URL")
    private String goodsPicUrl;
    /** 卖品库存 */
    @Excel(name = "卖品库存")
    private Long goodsStorageCount;
    /** 是否本组默认 */
    @Excel(name = "是否本组默认")
    private String defaultFlag;
    /** 是否享受会员优惠 */
    @Excel(name = "是否享受会员优惠")
    private String memberFlag;
    /** 需补⾦额 */
    @Excel(name = "需补⾦额")
    private Long extraMoney;
    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setComboGroupId(Long comboGroupId)
    {
        this.comboGroupId = comboGroupId;
    }

    public Long getComboGroupId()
    {
        return comboGroupId;
    }
    public void setGoodsCode(String goodsCode)
    {
        this.goodsCode = goodsCode;
    }

    public String getGoodsCode()
    {
        return goodsCode;
    }
    public void setGoodsName(String goodsName)
    {
        this.goodsName = goodsName;
    }

    public String getGoodsName()
    {
        return goodsName;
    }
    public void setGoodsType(String goodsType)
    {
        this.goodsType = goodsType;
    }

    public String getGoodsType()
    {
        return goodsType;
    }
    public void setGoodsPicUrl(String goodsPicUrl)
    {
        this.goodsPicUrl = goodsPicUrl;
    }

    public String getGoodsPicUrl()
    {
        return goodsPicUrl;
    }
    public void setGoodsStorageCount(Long goodsStorageCount)
    {
        this.goodsStorageCount = goodsStorageCount;
    }

    public Long getGoodsStorageCount()
    {
        return goodsStorageCount;
    }
    public void setDefaultFlag(String defaultFlag)
    {
        this.defaultFlag = defaultFlag;
    }

    public String getDefaultFlag()
    {
        return defaultFlag;
    }
    public void setMemberFlag(String memberFlag)
    {
        this.memberFlag = memberFlag;
    }

    public String getMemberFlag()
    {
        return memberFlag;
    }
    public void setExtraMoney(Long extraMoney)
    {
        this.extraMoney = extraMoney;
    }

    public Long getExtraMoney()
    {
        return extraMoney;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("comboGroupId", getComboGroupId())
            .append("goodsCode", getGoodsCode())
            .append("goodsName", getGoodsName())
            .append("goodsType", getGoodsType())
            .append("goodsPicUrl", getGoodsPicUrl())
            .append("goodsStorageCount", getGoodsStorageCount())
            .append("defaultFlag", getDefaultFlag())
            .append("memberFlag", getMemberFlag())
            .append("extraMoney", getExtraMoney())
            .toString();
    }
}
